3.91 \(\int (\frac {x}{\cos ^{\frac {5}{2}}(x)}-\frac {x}{3 \sqrt {\cos (x)}}) \, dx\)

Optimal. Leaf size=24 \[ \frac {2 x \sin (x)}{3 \cos ^{\frac {3}{2}}(x)}-\frac {4}{3 \sqrt {\cos (x)}} \]

[Out]

2/3*x*sin(x)/cos(x)^(3/2)-4/3/cos(x)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {3315} \[ \frac {2 x \sin (x)}{3 \cos ^{\frac {3}{2}}(x)}-\frac {4}{3 \sqrt {\cos (x)}} \]

Antiderivative was successfully verified.

[In]

Int[x/Cos[x]^(5/2) - x/(3*Sqrt[Cos[x]]),x]

[Out]

-4/(3*Sqrt[Cos[x]]) + (2*x*Sin[x])/(3*Cos[x]^(3/2))

Rule 3315

Int[((c_.) + (d_.)*(x_))*((b_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[((c + d*x)*Cos[e + f*x]*(b*Si
n[e + f*x])^(n + 1))/(b*f*(n + 1)), x] + (Dist[(n + 2)/(b^2*(n + 1)), Int[(c + d*x)*(b*Sin[e + f*x])^(n + 2),
x], x] - Simp[(d*(b*Sin[e + f*x])^(n + 2))/(b^2*f^2*(n + 1)*(n + 2)), x]) /; FreeQ[{b, c, d, e, f}, x] && LtQ[
n, -1] && NeQ[n, -2]

Rubi steps

\begin {align*} \int \left (\frac {x}{\cos ^{\frac {5}{2}}(x)}-\frac {x}{3 \sqrt {\cos (x)}}\right ) \, dx &=-\left (\frac {1}{3} \int \frac {x}{\sqrt {\cos (x)}} \, dx\right )+\int \frac {x}{\cos ^{\frac {5}{2}}(x)} \, dx\\ &=-\frac {4}{3 \sqrt {\cos (x)}}+\frac {2 x \sin (x)}{3 \cos ^{\frac {3}{2}}(x)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.08, size = 17, normalized size = 0.71 \[ -\frac {8-4 x \tan (x)}{6 \sqrt {\cos (x)}} \]

Antiderivative was successfully verified.

[In]

Integrate[x/Cos[x]^(5/2) - x/(3*Sqrt[Cos[x]]),x]

[Out]

-1/6*(8 - 4*x*Tan[x])/Sqrt[Cos[x]]

________________________________________________________________________________________

fricas [A]  time = 0.91, size = 15, normalized size = 0.62 \[ \frac {2 \, {\left (x \sin \relax (x) - 2 \, \cos \relax (x)\right )}}{3 \, \cos \relax (x)^{\frac {3}{2}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/cos(x)^(5/2)-1/3*x/cos(x)^(1/2),x, algorithm="fricas")

[Out]

2/3*(x*sin(x) - 2*cos(x))/cos(x)^(3/2)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int -\frac {x}{3 \, \sqrt {\cos \relax (x)}} + \frac {x}{\cos \relax (x)^{\frac {5}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/cos(x)^(5/2)-1/3*x/cos(x)^(1/2),x, algorithm="giac")

[Out]

integrate(-1/3*x/sqrt(cos(x)) + x/cos(x)^(5/2), x)

________________________________________________________________________________________

maple [F]  time = 0.26, size = 0, normalized size = 0.00 \[ \int \frac {x}{\cos \relax (x )^{\frac {5}{2}}}-\frac {x}{3 \sqrt {\cos \relax (x )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/cos(x)^(5/2)-1/3*x/cos(x)^(1/2),x)

[Out]

int(x/cos(x)^(5/2)-1/3*x/cos(x)^(1/2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int -\frac {x}{3 \, \sqrt {\cos \relax (x)}} + \frac {x}{\cos \relax (x)^{\frac {5}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/cos(x)^(5/2)-1/3*x/cos(x)^(1/2),x, algorithm="maxima")

[Out]

integrate(-1/3*x/sqrt(cos(x)) + x/cos(x)^(5/2), x)

________________________________________________________________________________________

mupad [B]  time = 0.14, size = 16, normalized size = 0.67 \[ -\frac {4\,\cos \relax (x)-2\,x\,\sin \relax (x)}{3\,{\cos \relax (x)}^{3/2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/cos(x)^(5/2) - x/(3*cos(x)^(1/2)),x)

[Out]

-(4*cos(x) - 2*x*sin(x))/(3*cos(x)^(3/2))

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ - \frac {\int \left (- \frac {3 x}{\cos ^{\frac {5}{2}}{\relax (x )}}\right )\, dx + \int \frac {x}{\sqrt {\cos {\relax (x )}}}\, dx}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/cos(x)**(5/2)-1/3*x/cos(x)**(1/2),x)

[Out]

-(Integral(-3*x/cos(x)**(5/2), x) + Integral(x/sqrt(cos(x)), x))/3

________________________________________________________________________________________